package agile.tools.web;

import agile.tools.domain.Account;
import agile.tools.domain.Person;

public class SomeComplexController {
	public Person someComplexMethod(Person p, Account a) {
		System.out.println("IN CONTROLLER");
		p.addAccount(a);
		a.setBalance(500);
		return p;
	}
	
	public Integer add(Integer a, Integer b) {
		return a+b;
	}
	
	public Integer add(Integer a, Integer b, Integer c) {
		return a+b+c;
	}
	
	public Float add(Integer a, Account b) {
		return a + b.getBalance();
	}
	
	public void save(Person p) {
	}
	
	public boolean getMessage() {
		return true;
	}
}